<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Pragma"   content="no-cache">   
<meta http-equiv="Cache-Control"   content="no-cache">   
<meta http-equiv="Expires"   content="0">   
<title>修改客户信息</title>
<jsp:include page="/common.jsp" />
<script type="text/javascript">
	$(document).ready(function(){
		regformSubmit("${pageContext.request.contextPath}/system/customer/edit.htm");
	});
</script>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/resource/form.css">
</head>
<body>
<form  method="post" id="addform">
		<table style="width:100%;height:100%;">
			<tr>
				<td><label>客户编号</label></td>
				<td>
					${ formBean.bean.id}<form:hidden path="formBean.bean.id" />
				</td>
			</tr>
			<tr>
				<td><label>客户名称</label></td>
				<td>
					<form:input path="formBean.bean.customerName" alert="客户名称#true"/> <span class="required">*</span>
				</td>
			</tr>
			<tr>
				<td><label>客户地址</label></td>
				<td>
					<form:input path="formBean.bean.customerAddress" />
				</td>
			</tr>
			<tr>
				<td><label>邮编号码</label></td>
				<td>
					<form:input path="formBean.bean.customerZip" alt="邮编号码#false#Int"/>
				</td>
			</tr>
			<tr>
				<td><label>客户账号</label></td>
				<td>
					<form:input path="formBean.bean.customerAccount" alt="客户账号#false#Int"/>
				</td>
			</tr>
			<tr>
				<td><label>账号银行</label></td>
				<td>
					<form:input path="formBean.bean.customerBank" />
				</td>
			</tr>
			<tr>
				<td><label>手机号码</label></td>
				<td>
					<form:input path="formBean.bean.customerContact" alt="手机号码#false#Int"/>
				</td>
			</tr>
			<tr>
				<td><label>备注</label></td>
				<td >
					<form:textarea path="formBean.bean.customerNote"  />
				</td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td><input id="btnSubmit" type="button" value="提交" /> <input type="reset" value="重置" /></td>
			</tr>
		</table>
</form>
</body>
</html>